import HttpRequest from '../..//utils/HttpRequest.js'

 //查询状态为展示的新闻信息集合
export const getAllShowNews=(data)=>HttpRequest('/message/news/getAllShowNews',{method:"get",data})
//查询状态为展示的理财咨询信息集合
export const getAllShowFinancialInformation=(data)=>HttpRequest('/message/financialInformation/getAllShowFinancialInformation',{method:"get",data})
//查询状态为展示的系统公告集合
export const getAllShowAnnouncement=(data)=>HttpRequest('/message/announcement/getAnnouncementByAnnouncementStatus',{method:"get",data})
//修改系统公告状态为已读
export const updateAnnouncementStatusById=(data)=>HttpRequest('/message/announcement/updateAnnouncementStatusById',{method:"get",data})
//查询状态为所有的系统公告集合
export const getAnnouncement=(data)=>HttpRequest('/message/announcement/getAllAnnouncement',{method:"get",data})
//修改所有系统公告为未读状态(测试)
export const getAnnouncementByAnnouncementStatus=(data)=>HttpRequest('/message/announcement/updateAllAnnouncementStatus',{method:"get",data})
//根据用户id和消息状态查询该用户收到的系统消息集合
export const getMessageListByStatus=(data)=>HttpRequest('/message/message/getMessageListByStatus',{method:"get",data})
//根据userId查询用户收到的通知消息
export const getMessageListByUserId=(data)=>HttpRequest('/message/message/getMessageListByUserId',{method:"get",data})
//修改所有通知消息为已读状态
export const updateAllAnnouncementStatus=(data)=>HttpRequest('/message/message/updateAllAnnouncementStatus',{method:"get",data})